package ch.fhnw.ams.sudoku.io;

/**
 * Signals that an exception from the persistence layer has occurred. e.g. an
 * I/O exception.
 * 
 * @author amsler
 * 
 */
public class SudokuDAOException extends Exception {

	private static final long serialVersionUID = 1L;

	/**
	 * Constructs an {@link SudokuDAOException} with null as its error detail
	 * message.
	 */
	public SudokuDAOException() {

	}

	/**
	 * Constructs an {@link SudokuDAOException} with the specified detail
	 * message.
	 * 
	 * @param message
	 *            The detail message
	 */
	public SudokuDAOException(String message) {
		super(message);
	}

	/**
	 * Constructs an {@link SudokuDAOException} with the specified cause.
	 * 
	 * @param cause
	 *            The cause
	 */
	public SudokuDAOException(Throwable cause) {
		super(cause);
	}

	/**
	 * Constructs an {@link SudokuDAOException} with the specified detail
	 * message and cause.
	 * 
	 * @param message
	 *            The detail message
	 * @param cause
	 *            The cause
	 */
	public SudokuDAOException(String message, Throwable cause) {
		super(message, cause);
	}

}
